import { BaseService, Service, Permission } from '@/cool';

@Service('crm/tljrecord')
export default class extends BaseService {
	@Permission('export')
	export(params) {
		return this.request({
			url: '/export',
			params: {
				...params
			}
		});
	}
	@Permission('detail')
	detail(params) {
		return this.request({
			url: '/detail',
			params: {
				...params
			}
		});
	}
	@Permission('goodsInfo')
	goodsInfo(params) {
		return this.request({
			url: '/goodsInfo',
			params: {
				...params
			}
		});
	}
}
